
package com.intretech.umsin.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.intretech.umsin.datasource.entity.BaseEntity;


 /**
 * @version V1.0
 * 订单:order 对应实体类.
 * @ClassName: Order
 * @Description: 订单:order 对应实体类.
 * @author: 李启联
 * @date:   2022-5-28 23:00:30
 * @Copyright: Copyright (c) 2022
 */

@TableName("`order`")
public class OrderEntity extends BaseEntity {
   // 订单编码
   @TableField(value = "order_no")
   private String orderNo;
   // 客户ID
   @TableField(value = "customer_id")
   private String customerId;
   // 收货人ID
   @TableField(value = "receiver_id")
   private String receiverId;
   // 订单状态
   @TableField(value = "order_status")
   private Integer orderStatus;

   public String getOrderNo(){
        return this.orderNo;
   }
   public void setOrderNo(String orderNo){
        this.orderNo = orderNo;
   }
   public String getCustomerId(){
        return this.customerId;
   }
   public void setCustomerId(String customerId){
        this.customerId = customerId;
   }
   public String getReceiverId(){
        return this.receiverId;
   }
   public void setReceiverId(String receiverId){
        this.receiverId = receiverId;
   }
   public Integer getOrderStatus(){
        return this.orderStatus;
   }
   public void setOrderStatus(Integer orderStatus){
        this.orderStatus = orderStatus;
   }

  public OrderEntity(){
  }


  @Override
  public String toString(){
  return " Order ["
    +" orderNo = " +orderNo +" ,"
    +" customerId = " +customerId +" ,"
    +" receiverId = " +receiverId +" ,"
    +" orderStatus = " +orderStatus +" ,"
  +" ]";
  }
}